package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.system.SysRoleDto;
import com.atguigu.spzx.model.entity.system.SysRole;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysRoleMapper {
    List<SysRole> selectSysRoleListByPage(SysRoleDto sysRoleDto);

    void updateSysRole(SysRole sysRole);

    void insertSysRole(SysRole sysRole);

    void deleteById(Long roleId);

    List<SysRole> selectAllRoles();

}
